local SoldiersBase = require("app.actor.SoldiersBase")

local gongjian = class("gongjian",SoldiersBase)

function gongjian:ctor(data)
    print("gongjian:ctor")
    gongjian.super.ctor(self,data)
--    self._property = { hp = 500 ,speed = 40 , hatred = 120 , radius = 10 , weight = 100}
--    self._property = {type = 2 ,att = 1 , range = 100 ,speed = 100  }                           --攻击： type 攻击类型 ,att = 攻击力 , range = 攻击距离 ,speed = 攻击速度  
end

function gongjian:CreateSprite()
    gongjian.super.CreateSprite(self)
    self.Sprite2 = display.newSprite("UI/actor/gongjianshou.png")
    self.Sprite2:scale(self._property.radius/40)    
    self.Sprite2:addTo(self)
end

return gongjian
